package com.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.user.dao.QueryPageCoupon;
import com.user.domain.Coupon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author YU
 * @description 针对表【coupon】的数据库操作Mapper
 * @createDate 2024-05-19 10:48:07
 * @Entity .com.user.com.user.domain.Coupon
 */
public interface CouponMapper extends BaseMapper<Coupon> {

    IPage<Coupon> selectUser(@Param("queryPageCoupon") QueryPageCoupon queryPageCoupon, @Param("mapPage") Page<Coupon> mapPage);

    List<Coupon> selectUser(@Param("queryPageCoupon") QueryPageCoupon queryPageCoupon);

    long selectUserCount(@Param("queryPageCoupon") QueryPageCoupon queryPageCoupon);

}




